package com.loeng.module.system.service.dict;

import com.loeng.module.system.dal.dataobject.dict.DictTypeDO;
import com.loeng.module.system.dal.mysql.dict.DictTypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 字典类型 Service 实现类
 * @author loeng zhuo
 */
@Service
public class DictTypeServiceImpl implements DictTypeService {

    @Resource
    private DictTypeMapper dictTypeMapper;

    /**
     * 获得全部字典类型列表
     *
     * @return 字典类型列表
     */
    @Override
    public List<DictTypeDO> getDictTypeList() {
        return dictTypeMapper.selectList();
    }

}
